﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DeltaPlcSystem
{
    public partial class UrlForm : Form
    {
        public delegate void UrlDele();
        public event UrlDele UrlEvent;
        public UrlForm()
        {
            InitializeComponent();
            MaximizeBox = false;
           
                this.Text = "PQM链接更新";
                uiTextBox1.Text = Form1.PQMserverURL;
          


        }



        private void uiButton1_Click(object sender, EventArgs e)
        {
            try
            {
              
                    Form1.PQMserverURL = uiTextBox1.Text;
              


                UrlEvent();


                MessageBox.Show("更新成功");

                this.Close();
            }
            catch { }   
        }


      
    }
}
